import QtQuick
import QtQuick.Controls
import Qt5Compat.GraphicalEffects

Item {

    Flow {

        anchors.fill: parent
        spacing: 10
        padding: 10

        Rectangle {
            width: 280
            height: 280
            color: "white"

            Image {
                id: butterfly
                source: "qrc:/images/butterfly.png"
                sourceSize: Qt.size(parent.width, parent.height)
                smooth: true
                visible: false
            }

            DropShadow {
                anchors.fill: butterfly
                horizontalOffset: 3
                verticalOffset: 3
                radius: 8.0
                color: "#80000000"
                source: butterfly
            }
        }

        Rectangle {
            width: 280
            height: 280
            color: "white"

            Image {
                id: butterfly2
                source: "qrc:/images/butterfly.png"
                sourceSize: Qt.size(parent.width, parent.height)
                smooth: true
                visible: false
            }

            InnerShadow {
                anchors.fill: butterfly2
                horizontalOffset: -3
                verticalOffset: 3
                radius: 8.0
                samples: 16
                color: "#b0000000"
                source: butterfly2
            }
        }

    }
}
